package com.ruoyi.data.service;

import com.ruoyi.data.domain.TdataHtWg;
import com.ruoyi.display.domain.HourViolations;
import com.ruoyi.display.domain.Violations;

import java.util.List;

/**
 * 违规记录Service接口
 *
 * @author ruoyi
 * @date 2024-06-05
 */
public interface ITdataHtWgService {

    /**
     * 查询违规记录列表
     *
     * @param tdataHtWg 违规记录
     * @return 违规记录集合
     */
    public List<TdataHtWg> selectTdataHtWgList(TdataHtWg tdataHtWg);

    // 违规统计分析
    public List<TdataHtWg> getStatistics(TdataHtWg tdataHtWg);

    List<TdataHtWg> selectHtWgList(TdataHtWg tdataHtWg);

    void clear(List<String> roomIds);

    void updateByRoomIdSelective(TdataHtWg record);

    List<Violations> todayViolations();

    Integer monthViolations();

    List<HourViolations> hourViolations(String date);

    void refresh(List<TdataHtWg> records);

    TdataHtWg selectTdataHtWg(String roomId);

    void insert(TdataHtWg record);

    void insertSelective(TdataHtWg record);

    void deleteByRoomIds(List<String> roomIds);
}
